<?php
session_start();
if(!$_SESSION["trv3_07"]){
	header("location:../../login.php");
	exit;
}
require "../../resources/v1.php";
if( !get_magic_quotes_gpc()){
	$Autos = addslashes( trim( $_GET['HD12']));
	$Tip = addslashes( trim( $_GET['HD09']));
}else{
	$Autos = trim( $_GET['HD12']);
	$Tip = trim( $_GET['HD09']);
}
$conexion = server_reconnect();
$query = "Insert into `trace` (`autos`,`tip`,`act`,`fech`,`usr`) values (".$Autos.",".$Tip.",14,Now(),".$_SESSION["trv3_02"].")";
mysql_query( $query, $conexion);
$query="update `exp` set `est` = 9 where `autos`=".$Autos." and `tip`=".$Tip;
mysql_query( $query, $conexion);
server_disconnect( $conexion);
?>